package com.yangwei.examination.teacher.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yangwei.examination.user.pojo.Student;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class HandleClass {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String teacherId;
    private Long classNum;
    private String majorName;
    private String schoolId;
    private Long year;
    @TableField(exist = false)
    private School school;
    @TableField(exist = false)
    private List<Student> studentList;
}
